package com.study.mall.mallmember.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 积分变化历史记录
 * </p>
 *
 * @author admin
 * @since 2022-03-05
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    public class UmsIntegrationChangeHistory implements Serializable {

    private static final long serialVersionUID=1L;

      /**
     * id
     */
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      /**
     * member_id
     */
      private Long memberId;

      /**
     * create_time
     */
      private LocalDateTime createTime;

      /**
     * 变化的值
     */
      private Integer changeCount;

      /**
     * 备注
     */
      private String note;

      /**
     * 来源[0->购物；1->管理员修改;2->活动]
     */
      private Integer sourceTyoe;


}
